package com.one.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zwj
 * @since 2021-10-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("elective_info")
@ApiModel(value="ElectiveInfoEntity对象", description="")
public class ElectiveInfoEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "教师编号")
    @TableField("ceach_code")
    private String ceachCode;

    @ApiModelProperty(value = "班级编号")
    @TableField("cls_code")
    private String clsCode;

    @ApiModelProperty(value = "课程编号")
    @TableField("course_code")
    private String courseCode;

    @ApiModelProperty(value = "开设时间如：大三上，此字段要与批次编号对应")
    @TableField("stu_time")
    private String stuTime;

    @ApiModelProperty(value = "总学时")
    @TableField("period")
    private Integer period;

    @ApiModelProperty(value = "总学分")
    @TableField("credit")
    private Integer credit;

    @ApiModelProperty(value = "上课地点")
    @TableField("class_room")
    private String classRoom;

    @ApiModelProperty(value = "如：16，就是16周")
    @TableField("durs_week")
    private Integer dursWeek;

    @ApiModelProperty(value = "是否删除,0:否 1:是")
    @TableField("isDeleted")
    private String isDeleted;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private String createTime;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private String updateTime;


}
